3.1.41 \(\int \frac {(a x^2+b x^3+c x^4)^{3/2}}{x^2} \, dx\)

Optimal. Leaf size=198 \[ -\frac {3 b x \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{256 c^{7/2} \sqrt {a x^2+b x^3+c x^4}}+\frac {3 b \left (b^2-4 a c\right ) (b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{128 c^3 x}-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5} \]

________________________________________________________________________________________

Rubi [A]  time = 0.18, antiderivative size = 198, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {1917, 1918, 1914, 621, 206} \begin {gather*} \frac {3 b \left (b^2-4 a c\right ) (b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{128 c^3 x}-\frac {3 b x \left (b^2-4 a c\right )^2 \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{256 c^{7/2} \sqrt {a x^2+b x^3+c x^4}}-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*x^2 + b*x^3 + c*x^4)^(3/2)/x^2,x]

[Out]

(3*b*(b^2 - 4*a*c)*(b + 2*c*x)*Sqrt[a*x^2 + b*x^3 + c*x^4])/(128*c^3*x) - (b*(b + 2*c*x)*(a*x^2 + b*x^3 + c*x^
4)^(3/2))/(16*c^2*x^3) + (a*x^2 + b*x^3 + c*x^4)^(5/2)/(5*c*x^5) - (3*b*(b^2 - 4*a*c)^2*x*Sqrt[a + b*x + c*x^2
]*ArcTanh[(b + 2*c*x)/(2*Sqrt[c]*Sqrt[a + b*x + c*x^2])])/(256*c^(7/2)*Sqrt[a*x^2 + b*x^3 + c*x^4])

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 621

Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[2, Subst[Int[1/(4*c - x^2), x], x, (b + 2*c*x)
/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 1914

Int[(x_)^(m_.)/Sqrt[(b_.)*(x_)^(n_.) + (a_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.)], x_Symbol] :> Dist[(x^(q/2)*Sqrt[a
 + b*x^(n - q) + c*x^(2*(n - q))])/Sqrt[a*x^q + b*x^n + c*x^(2*n - q)], Int[x^(m - q/2)/Sqrt[a + b*x^(n - q) +
 c*x^(2*(n - q))], x], x] /; FreeQ[{a, b, c, m, n, q}, x] && EqQ[r, 2*n - q] && PosQ[n - q] && ((EqQ[m, 1] &&
EqQ[n, 3] && EqQ[q, 2]) || ((EqQ[m + 1/2] || EqQ[m, 3/2] || EqQ[m, 1/2] || EqQ[m, 5/2]) && EqQ[n, 3] && EqQ[q,
 1]))

Rule 1917

Int[(x_)^(m_.)*((b_.)*(x_)^(n_.) + (a_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(p_), x_Symbol] :> Simp[(x^(m - n)*(a*
x^(n - 1) + b*x^n + c*x^(n + 1))^(p + 1))/(2*c*(p + 1)), x] - Dist[b/(2*c), Int[x^(m - 1)*(a*x^(n - 1) + b*x^n
 + c*x^(n + 1))^p, x], x] /; FreeQ[{a, b, c}, x] && EqQ[r, 2*n - q] && PosQ[n - q] &&  !IntegerQ[p] && NeQ[b^2
 - 4*a*c, 0] && IGtQ[n, 0] && RationalQ[m, p, q] && EqQ[m + p*(n - 1) - 1, 0]

Rule 1918

Int[(x_)^(m_.)*((b_.)*(x_)^(n_.) + (a_.)*(x_)^(q_.) + (c_.)*(x_)^(r_.))^(p_), x_Symbol] :> Simp[(x^(m - n + q
+ 1)*(b + 2*c*x^(n - q))*(a*x^q + b*x^n + c*x^(2*n - q))^p)/(2*c*(n - q)*(2*p + 1)), x] - Dist[(p*(b^2 - 4*a*c
))/(2*c*(2*p + 1)), Int[x^(m + q)*(a*x^q + b*x^n + c*x^(2*n - q))^(p - 1), x], x] /; FreeQ[{a, b, c}, x] && Eq
Q[r, 2*n - q] && PosQ[n - q] &&  !IntegerQ[p] && NeQ[b^2 - 4*a*c, 0] && IGtQ[n, 0] && GtQ[p, 0] && RationalQ[m
, q] && EqQ[m + p*q + 1, n - q]

Rubi steps

\begin {align*} \int \frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^2} \, dx &=\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5}-\frac {b \int \frac {\left (a x^2+b x^3+c x^4\right )^{3/2}}{x^3} \, dx}{2 c}\\ &=-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5}+\frac {\left (3 b \left (b^2-4 a c\right )\right ) \int \frac {\sqrt {a x^2+b x^3+c x^4}}{x} \, dx}{32 c^2}\\ &=\frac {3 b \left (b^2-4 a c\right ) (b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{128 c^3 x}-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5}-\frac {\left (3 b \left (b^2-4 a c\right )^2\right ) \int \frac {x}{\sqrt {a x^2+b x^3+c x^4}} \, dx}{256 c^3}\\ &=\frac {3 b \left (b^2-4 a c\right ) (b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{128 c^3 x}-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5}-\frac {\left (3 b \left (b^2-4 a c\right )^2 x \sqrt {a+b x+c x^2}\right ) \int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{256 c^3 \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {3 b \left (b^2-4 a c\right ) (b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{128 c^3 x}-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5}-\frac {\left (3 b \left (b^2-4 a c\right )^2 x \sqrt {a+b x+c x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{128 c^3 \sqrt {a x^2+b x^3+c x^4}}\\ &=\frac {3 b \left (b^2-4 a c\right ) (b+2 c x) \sqrt {a x^2+b x^3+c x^4}}{128 c^3 x}-\frac {b (b+2 c x) \left (a x^2+b x^3+c x^4\right )^{3/2}}{16 c^2 x^3}+\frac {\left (a x^2+b x^3+c x^4\right )^{5/2}}{5 c x^5}-\frac {3 b \left (b^2-4 a c\right )^2 x \sqrt {a+b x+c x^2} \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{256 c^{7/2} \sqrt {a x^2+b x^3+c x^4}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.17, size = 163, normalized size = 0.82 \begin {gather*} \frac {x \sqrt {a+x (b+c x)} \left (2 \sqrt {c} \sqrt {a+x (b+c x)} \left (4 b^2 c \left (2 c x^2-25 a\right )+8 b c^2 x \left (7 a+22 c x^2\right )+128 c^2 \left (a+c x^2\right )^2+15 b^4-10 b^3 c x\right )-15 b \left (b^2-4 a c\right )^2 \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+x (b+c x)}}\right )\right )}{1280 c^{7/2} \sqrt {x^2 (a+x (b+c x))}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*x^2 + b*x^3 + c*x^4)^(3/2)/x^2,x]

[Out]

(x*Sqrt[a + x*(b + c*x)]*(2*Sqrt[c]*Sqrt[a + x*(b + c*x)]*(15*b^4 - 10*b^3*c*x + 128*c^2*(a + c*x^2)^2 + 4*b^2
*c*(-25*a + 2*c*x^2) + 8*b*c^2*x*(7*a + 22*c*x^2)) - 15*b*(b^2 - 4*a*c)^2*ArcTanh[(b + 2*c*x)/(2*Sqrt[c]*Sqrt[
a + x*(b + c*x)])]))/(1280*c^(7/2)*Sqrt[x^2*(a + x*(b + c*x))])

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 2.64, size = 175, normalized size = 0.88 \begin {gather*} \frac {3 \left (16 a^2 b c^2-8 a b^3 c+b^5\right ) \tanh ^{-1}\left (\frac {\sqrt {c} x^2}{\sqrt {a} x-\sqrt {a x^2+b x^3+c x^4}}\right )}{128 c^{7/2}}+\frac {\sqrt {a x^2+b x^3+c x^4} \left (128 a^2 c^2-100 a b^2 c+56 a b c^2 x+256 a c^3 x^2+15 b^4-10 b^3 c x+8 b^2 c^2 x^2+176 b c^3 x^3+128 c^4 x^4\right )}{640 c^3 x} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(a*x^2 + b*x^3 + c*x^4)^(3/2)/x^2,x]

[Out]

(Sqrt[a*x^2 + b*x^3 + c*x^4]*(15*b^4 - 100*a*b^2*c + 128*a^2*c^2 - 10*b^3*c*x + 56*a*b*c^2*x + 8*b^2*c^2*x^2 +
 256*a*c^3*x^2 + 176*b*c^3*x^3 + 128*c^4*x^4))/(640*c^3*x) + (3*(b^5 - 8*a*b^3*c + 16*a^2*b*c^2)*ArcTanh[(Sqrt
[c]*x^2)/(Sqrt[a]*x - Sqrt[a*x^2 + b*x^3 + c*x^4])])/(128*c^(7/2))

________________________________________________________________________________________

fricas [A]  time = 1.21, size = 384, normalized size = 1.94 \begin {gather*} \left [\frac {15 \, {\left (b^{5} - 8 \, a b^{3} c + 16 \, a^{2} b c^{2}\right )} \sqrt {c} x \log \left (-\frac {8 \, c^{2} x^{3} + 8 \, b c x^{2} - 4 \, \sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {c} + {\left (b^{2} + 4 \, a c\right )} x}{x}\right ) + 4 \, {\left (128 \, c^{5} x^{4} + 176 \, b c^{4} x^{3} + 15 \, b^{4} c - 100 \, a b^{2} c^{2} + 128 \, a^{2} c^{3} + 8 \, {\left (b^{2} c^{3} + 32 \, a c^{4}\right )} x^{2} - 2 \, {\left (5 \, b^{3} c^{2} - 28 \, a b c^{3}\right )} x\right )} \sqrt {c x^{4} + b x^{3} + a x^{2}}}{2560 \, c^{4} x}, \frac {15 \, {\left (b^{5} - 8 \, a b^{3} c + 16 \, a^{2} b c^{2}\right )} \sqrt {-c} x \arctan \left (\frac {\sqrt {c x^{4} + b x^{3} + a x^{2}} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{3} + b c x^{2} + a c x\right )}}\right ) + 2 \, {\left (128 \, c^{5} x^{4} + 176 \, b c^{4} x^{3} + 15 \, b^{4} c - 100 \, a b^{2} c^{2} + 128 \, a^{2} c^{3} + 8 \, {\left (b^{2} c^{3} + 32 \, a c^{4}\right )} x^{2} - 2 \, {\left (5 \, b^{3} c^{2} - 28 \, a b c^{3}\right )} x\right )} \sqrt {c x^{4} + b x^{3} + a x^{2}}}{1280 \, c^{4} x}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+b*x^3+a*x^2)^(3/2)/x^2,x, algorithm="fricas")

[Out]

[1/2560*(15*(b^5 - 8*a*b^3*c + 16*a^2*b*c^2)*sqrt(c)*x*log(-(8*c^2*x^3 + 8*b*c*x^2 - 4*sqrt(c*x^4 + b*x^3 + a*
x^2)*(2*c*x + b)*sqrt(c) + (b^2 + 4*a*c)*x)/x) + 4*(128*c^5*x^4 + 176*b*c^4*x^3 + 15*b^4*c - 100*a*b^2*c^2 + 1
28*a^2*c^3 + 8*(b^2*c^3 + 32*a*c^4)*x^2 - 2*(5*b^3*c^2 - 28*a*b*c^3)*x)*sqrt(c*x^4 + b*x^3 + a*x^2))/(c^4*x),
1/1280*(15*(b^5 - 8*a*b^3*c + 16*a^2*b*c^2)*sqrt(-c)*x*arctan(1/2*sqrt(c*x^4 + b*x^3 + a*x^2)*(2*c*x + b)*sqrt
(-c)/(c^2*x^3 + b*c*x^2 + a*c*x)) + 2*(128*c^5*x^4 + 176*b*c^4*x^3 + 15*b^4*c - 100*a*b^2*c^2 + 128*a^2*c^3 +
8*(b^2*c^3 + 32*a*c^4)*x^2 - 2*(5*b^3*c^2 - 28*a*b*c^3)*x)*sqrt(c*x^4 + b*x^3 + a*x^2))/(c^4*x)]

________________________________________________________________________________________

giac [A]  time = 0.93, size = 284, normalized size = 1.43 \begin {gather*} \frac {1}{640} \, \sqrt {c x^{2} + b x + a} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, c x \mathrm {sgn}\relax (x) + 11 \, b \mathrm {sgn}\relax (x)\right )} x + \frac {b^{2} c^{3} \mathrm {sgn}\relax (x) + 32 \, a c^{4} \mathrm {sgn}\relax (x)}{c^{4}}\right )} x - \frac {5 \, b^{3} c^{2} \mathrm {sgn}\relax (x) - 28 \, a b c^{3} \mathrm {sgn}\relax (x)}{c^{4}}\right )} x + \frac {15 \, b^{4} c \mathrm {sgn}\relax (x) - 100 \, a b^{2} c^{2} \mathrm {sgn}\relax (x) + 128 \, a^{2} c^{3} \mathrm {sgn}\relax (x)}{c^{4}}\right )} + \frac {3 \, {\left (b^{5} \mathrm {sgn}\relax (x) - 8 \, a b^{3} c \mathrm {sgn}\relax (x) + 16 \, a^{2} b c^{2} \mathrm {sgn}\relax (x)\right )} \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} \sqrt {c} - b \right |}\right )}{256 \, c^{\frac {7}{2}}} - \frac {{\left (15 \, b^{5} \log \left ({\left | -b + 2 \, \sqrt {a} \sqrt {c} \right |}\right ) - 120 \, a b^{3} c \log \left ({\left | -b + 2 \, \sqrt {a} \sqrt {c} \right |}\right ) + 240 \, a^{2} b c^{2} \log \left ({\left | -b + 2 \, \sqrt {a} \sqrt {c} \right |}\right ) + 30 \, \sqrt {a} b^{4} \sqrt {c} - 200 \, a^{\frac {3}{2}} b^{2} c^{\frac {3}{2}} + 256 \, a^{\frac {5}{2}} c^{\frac {5}{2}}\right )} \mathrm {sgn}\relax (x)}{1280 \, c^{\frac {7}{2}}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+b*x^3+a*x^2)^(3/2)/x^2,x, algorithm="giac")

[Out]

1/640*sqrt(c*x^2 + b*x + a)*(2*(4*(2*(8*c*x*sgn(x) + 11*b*sgn(x))*x + (b^2*c^3*sgn(x) + 32*a*c^4*sgn(x))/c^4)*
x - (5*b^3*c^2*sgn(x) - 28*a*b*c^3*sgn(x))/c^4)*x + (15*b^4*c*sgn(x) - 100*a*b^2*c^2*sgn(x) + 128*a^2*c^3*sgn(
x))/c^4) + 3/256*(b^5*sgn(x) - 8*a*b^3*c*sgn(x) + 16*a^2*b*c^2*sgn(x))*log(abs(-2*(sqrt(c)*x - sqrt(c*x^2 + b*
x + a))*sqrt(c) - b))/c^(7/2) - 1/1280*(15*b^5*log(abs(-b + 2*sqrt(a)*sqrt(c))) - 120*a*b^3*c*log(abs(-b + 2*s
qrt(a)*sqrt(c))) + 240*a^2*b*c^2*log(abs(-b + 2*sqrt(a)*sqrt(c))) + 30*sqrt(a)*b^4*sqrt(c) - 200*a^(3/2)*b^2*c
^(3/2) + 256*a^(5/2)*c^(5/2))*sgn(x)/c^(7/2)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 289, normalized size = 1.46 \begin {gather*} \frac {\left (c \,x^{4}+b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}} \left (-240 a^{2} b \,c^{3} \ln \left (\frac {2 c x +b +2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {c}}{2 \sqrt {c}}\right )+120 a \,b^{3} c^{2} \ln \left (\frac {2 c x +b +2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {c}}{2 \sqrt {c}}\right )-15 b^{5} c \ln \left (\frac {2 c x +b +2 \sqrt {c \,x^{2}+b x +a}\, \sqrt {c}}{2 \sqrt {c}}\right )-240 \sqrt {c \,x^{2}+b x +a}\, a b \,c^{\frac {7}{2}} x +60 \sqrt {c \,x^{2}+b x +a}\, b^{3} c^{\frac {5}{2}} x -120 \sqrt {c \,x^{2}+b x +a}\, a \,b^{2} c^{\frac {5}{2}}+30 \sqrt {c \,x^{2}+b x +a}\, b^{4} c^{\frac {3}{2}}-160 \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} b \,c^{\frac {7}{2}} x -80 \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} b^{2} c^{\frac {5}{2}}+256 \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} c^{\frac {7}{2}}\right )}{1280 \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} c^{\frac {9}{2}} x^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*x^4+b*x^3+a*x^2)^(3/2)/x^2,x)

[Out]

1/1280*(c*x^4+b*x^3+a*x^2)^(3/2)*(256*(c*x^2+b*x+a)^(5/2)*c^(7/2)-160*(c*x^2+b*x+a)^(3/2)*b*c^(7/2)*x-80*(c*x^
2+b*x+a)^(3/2)*b^2*c^(5/2)-240*(c*x^2+b*x+a)^(1/2)*a*b*c^(7/2)*x+60*(c*x^2+b*x+a)^(1/2)*b^3*c^(5/2)*x-120*(c*x
^2+b*x+a)^(1/2)*a*b^2*c^(5/2)+30*(c*x^2+b*x+a)^(1/2)*b^4*c^(3/2)-240*a^2*b*c^3*ln(1/2*(2*c*x+b+2*(c*x^2+b*x+a)
^(1/2)*c^(1/2))/c^(1/2))+120*a*b^3*c^2*ln(1/2*(2*c*x+b+2*(c*x^2+b*x+a)^(1/2)*c^(1/2))/c^(1/2))-15*b^5*c*ln(1/2
*(2*c*x+b+2*(c*x^2+b*x+a)^(1/2)*c^(1/2))/c^(1/2)))/x^3/(c*x^2+b*x+a)^(3/2)/c^(9/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (c x^{4} + b x^{3} + a x^{2}\right )}^{\frac {3}{2}}}{x^{2}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x^4+b*x^3+a*x^2)^(3/2)/x^2,x, algorithm="maxima")

[Out]

integrate((c*x^4 + b*x^3 + a*x^2)^(3/2)/x^2, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (c\,x^4+b\,x^3+a\,x^2\right )}^{3/2}}{x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*x^2 + b*x^3 + c*x^4)^(3/2)/x^2,x)

[Out]

int((a*x^2 + b*x^3 + c*x^4)^(3/2)/x^2, x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{2} \left (a + b x + c x^{2}\right )\right )^{\frac {3}{2}}}{x^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((c*x**4+b*x**3+a*x**2)**(3/2)/x**2,x)

[Out]

Integral((x**2*(a + b*x + c*x**2))**(3/2)/x**2, x)

________________________________________________________________________________________